#!/bin/bash

read -p "please input your nam: " u_name

read -p "please Select rows boys/girls: " confirm

if [[ "$confirm" == "boys" ]]
then
	meinv=(杨幂 赵丽颖 范冰冰 娜扎)
	echo "0.${meinv[0]}"
	echo "1.${meinv[1]}"
	echo "2.${meinv[2]}"
	echo "3.${meinv[3]}"
	read -p "please input your love meinv:" u_num 
	echo "${meinv[$u_num]}"
	reason=(可爱 聪明 漂亮 皮肤白)
	echo "0.${reason[0]}"
	echo "1.${reason[1]}"
	echo "2.${reason[2]}"
	echo "3.${reason[3]}"
	read -p "please input your liyou :" u_num2
	echo "${reason[$u_num2]}"
	echo "$u_name boys love ${meinv[$u_num]}type girls reason: ${reason[$u_num2]}"	
	else
		sg=(杨洋 井柏然 彭于晏 汪涵)
		echo "0.${sg[0]}"	
		echo "1.${sg[1]}"	
		echo "2.${sg[2]}"	
		echo "3.${sg[3]}"
		read -p "please input your love sg: " u_num3
		echo "${sg[$num3]}"
		reason2=(身高 演技 帅 成熟)
		echo "0.${reason2[0]}"	
		echo "1.${reason2[1]}"	
		echo "2.${reason2[2]}"	
		echo "3.${reason2[3]}"
		read -p "please input your liyou :" u_num4
		echo "$u_name girls love ${sg[$u_num3]} type sg reason: ${reason[$u_num4]}"	
fi
